#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2024/6/30 12:21
# @Author : 闫峰
# @File    : urls.py
from flask import Blueprint

from schedule_hub_v2_schedule_service.views.views import ScheduleService_Schedule0_HTTP_Handler,ScheduleService_release

"""
hub_schedule api路由配置
"""
hub_schedule_bp = Blueprint('hub_schedule', __name__)

hub_schedule_bp.add_url_rule('/v2/schedule',
                        view_func=ScheduleService_Schedule0_HTTP_Handler,
                        methods=['POST'])

#
hub_schedule_bp.add_url_rule('/v2/release',
                        view_func=ScheduleService_release,
                        methods=['POST'])